/**
 * 
 */
package com.cnhaimei.vod.bean;

import java.io.Serializable;

/**
 * @author Jin001.Wu@gmail.com<br>
 * @date 2011-7-2
 * 
 */
public class Song implements Serializable {
	private static final long serialVersionUID = 291790763052862767L;
	
	private int index;
	private String name;
	private String singer;
	private String singerName;
	private String definition;
	private String numb;				//歌曲编号，前6字节有效；(可从数据库中读取)
	private String lang;				//歌曲语言，前3字节有效；(可从数据库中读取)
//	byte flag[4];				//预留标志；(和数据库无关，供界面使用)

	byte aEff;    //音频效果索引; (可从数据库中读取)
	byte vEff;    //视频效果索引; (可从数据库中读取)

	byte volm;    //音乐音量基准; (可从数据库中读取)
	byte volv_base;    //人声音量基准; (可从数据库中读取)

	byte trck;	//音轨控制模式; (可从数据库中读取)
//	byte user_ctrl;	//用户控制预留;(和数据库无关，暂不用，值可为0)

//	byte file_mode;	//文件的模式;(和数据库无关，自定义)
//	byte play_mode;	
	
	public Song() {
		
	}
	
	public Song(String name, String singer, String definition) {
		this.name = name;
		this.setSingerName(name);
		this.singer = singer;
		this.definition = definition;
	}

	public String getName() {
		return name;
	}

	public String getSinger() {
		return singer;
	}

	public String getDefinition() {
		return definition;
	}

	public static Song createSong(String name, String singer, String definition) {
		return new Song(name, singer, definition);
	}

	/**
	 * @return the numb
	 */
	public String getNumb() {
		return numb;
	}

	/**
	 * @param numb the numb to set
	 */
	public void setNumb(String numb) {
		this.numb = numb;
	}

	/**
	 * @return the lang
	 */
	public String getLang() {
		return lang;
	}

	/**
	 * @param lang the lang to set
	 */
	public void setLang(String lang) {
		this.lang = lang;
	}

	/**
	 * @return the aEff
	 */
	public byte getaEff() {
		return aEff;
	}

	/**
	 * @param aEff the aEff to set
	 */
	public void setaEff(byte aEff) {
		this.aEff = aEff;
	}

	/**
	 * @return the vEff
	 */
	public byte getvEff() {
		return vEff;
	}

	/**
	 * @param vEff the vEff to set
	 */
	public void setvEff(byte vEff) {
		this.vEff = vEff;
	}

	/**
	 * @return the volm
	 */
	public byte getVolm() {
		return volm;
	}

	/**
	 * @param volm the volm to set
	 */
	public void setVolm(byte volm) {
		this.volm = volm;
	}

	/**
	 * @return the volv_base
	 */
	public byte getVolv_base() {
		return volv_base;
	}

	/**
	 * @param volvBase the volv_base to set
	 */
	public void setVolv_base(byte volvBase) {
		volv_base = volvBase;
	}

	/**
	 * @return the trck
	 */
	public byte getTrck() {
		return trck;
	}

	/**
	 * @param trck the trck to set
	 */
	public void setTrck(byte trck) {
		this.trck = trck;
	}

	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * @param singer the singer to set
	 */
	public void setSinger(String singer) {
		this.singer = singer;
	}

	/**
	 * @param definition the definition to set
	 */
	public void setDefinition(String definition) {
		this.definition = definition;
	}

	public void setSingerName(String showName) {
		this.singerName = showName;
	}

	public String getSingerName() {
		return singerName;
	}

	public void setIndex(int index) {
		this.index = index;
	}

	public int getIndex() {
		return index;
	}
	
	

}
